package com.ethink.order.api.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author 辉辉 2023/1/5 10:51
 */
@Data
public class PurchaseOrderModeModel extends PurchaseOrderModel {

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "商品编码")
    private String mateSku;

    @Schema(description = "商品名称")
    private String mateSkuName;

    @Schema(description = "品牌code")
    private String brandCode;

    @Schema(description = "品牌")
    private String brandName;

    @Schema(description = "规格")
    private String productSpecification;

    @Schema(description = "单位code")
    private String unitCode;

    @Schema(description = "单位")
    private String unitName;

    @Schema(description = "总额")
    private BigDecimal total;

    @Schema(description = "预计毛利")
    private BigDecimal exceptGrossProfit;

    @Schema(description = "采购单价")
    private BigDecimal averagePurchasePrice;

    @Schema(description = "采购数量")
    private BigDecimal lockOrderQty;

    @Schema(description = "预计销售价(不含税)")
    private BigDecimal exceptSalePriceNoTax;

    @Schema(description = "销售货币编码")
    private String saleCurrencyCode;

    @Schema(description = "销售货币名称")
    private String saleCurrencyName;

    @Schema(description = "实际入仓")
    private Integer actualInQty;

    @Schema(description = "少货数量")
    private Integer lessQty;

    @Schema(description = "差异数量")
    private Integer differenceQty;

}
